package com.lee.dhsg.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Jun
 */
public class Course implements Serializable {
    private Integer courseid;
    private Teacher teacher;
    private Category category;
    private String cname;
    private String img;
    private Double originaPrice;
    private Double discountPrice;
    private Double discount;
    private Double reducePrice;
    private Integer duration;
    private Date onlineTime;
    private String courseDescription;
    private String resource;
    private String discountDescription;
    private Date discountBeginTime;
    private Date discountStopTime;
    private Integer discountStatus;
    private List<Student> studentList;
    private Order order;

    public Integer getTuijian() {
        return tuijian;
    }

    public void setTuijian(Integer tuijian) {
        this.tuijian = tuijian;
    }

    private Integer tuijian;


    public Course() {
        super();
    }

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Double getOriginaPrice() {
        return originaPrice;
    }

    public void setOriginaPrice(Double originaPrice) {
        this.originaPrice = originaPrice;
    }

    public Double getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(Double discountPrice) {
        this.discountPrice = discountPrice;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Double getReducePrice() {
        return reducePrice;
    }

    public void setReducePrice(Double reducePrice) {
        this.reducePrice = reducePrice;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    public String getCourseDescription() {
        return courseDescription;
    }

    public void setCourseDescription(String courseDescription) {
        this.courseDescription = courseDescription;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public String getDiscountDescription() {
        return discountDescription;
    }

    public void setDiscountDescription(String discountDescription) {
        this.discountDescription = discountDescription;
    }

    public Date getDiscountBeginTime() {
        return discountBeginTime;
    }

    public void setDiscountBeginTime(Date discountBeginTime) {
        this.discountBeginTime = discountBeginTime;
    }

    public Date getDiscountStopTime() {
        return discountStopTime;
    }

    public void setDiscountStopTime(Date discountStopTime) {
        this.discountStopTime = discountStopTime;
    }

    public Integer getDiscountStatus() {
        return discountStatus;
    }

    public void setDiscountStatus(Integer discountStatus) {
        this.discountStatus = discountStatus;
    }

}
